openblas.git
5 months agoFix FTBFS on ppc64el with gcc-15
Debian Science Team [Sun, 14 Sep 2025 09:34:16 +0000 (11:34 +0200)]
Fix FTBFS on ppc64el with gcc-15

Origin: upstream, https://github.com/OpenMathLib/OpenBLAS/pull/5409/commits/a3b9c933c59809027937c7708e1d996988c112f2
Bug: https://github.com/OpenMathLib/OpenBLAS/issues/5372
Bug-Debian: https://bugs.debian.org/1114016
Reviewed-by: Sébastien Villemot <sebastien@debian.org>
Last-Update: 2025-09-14

The test failures are caused by incorrect clobber rules in asm inline
statements.
This patch is only a temporary workaround until a permanent fix is found.
Last-Update: 2025-09-14
Gbp-Pq: Name ppc64el-gcc-15.patch

5 months agoFix FTBFS on armhf
Debian Science Team [Sun, 14 Sep 2025 09:34:16 +0000 (11:34 +0200)]
Fix FTBFS on armhf

Origin: upstream, https://github.com/OpenMathLib/OpenBLAS/commit/8d11e4630c1e92437636d016f35ad48395b62b4f
Reviewed-by: Sébastien Villemot <sebastien@debian.org>
Last-Update: 2025-09-03

Last-Update: 2025-09-03
Gbp-Pq: Name armhf-cpuid-asm.patch

5 months agoNo longer check for symbols deprecated in LAPACK 3.10.1
Mo Zhou [Sun, 14 Sep 2025 09:34:16 +0000 (11:34 +0200)]
No longer check for symbols deprecated in LAPACK 3.10.1

Bug-Debian: https://bugs.debian.org/1011386
Forwarded: no
Last-Update: 2022-08-14

Last-Update: 2022-08-14
Gbp-Pq: Name combssq-deprecate.patch

5 months agoMATGEN symbols are not included in Debian binary
Sébastien Villemot [Sun, 14 Sep 2025 09:34:16 +0000 (11:34 +0200)]
MATGEN symbols are not included in Debian binary

Forwarded: not-needed
Last-Update: 2016-03-24

The libopenblas binaries do not include libmatgen code, so don't mark them as
exported and don't test for their presence (in linktest).
Last-Update: 2016-03-24
Gbp-Pq: Name matgen-symbols-not-included.patch

5 months agoCreate shared libraries lib{blas,lapack}.so.3
Sébastien Villemot [Sun, 14 Sep 2025 09:34:16 +0000 (11:34 +0200)]
Create shared libraries lib{blas,lapack}.so.3

Forwarded: not-needed
Last-Update: 2020-07-31

* It is done so that duplicate code with libopenblas.so.0 is kept as low as
  possible. Only the symbols from the external BLAS/LAPACK API are incorporated
  in the shared libraries. The rest is obtained by dynamic linking against
  libopenblas.so.0. This also gives access to some extra OpenBLAS symbols, in
  order to differentiate it at runtime from other BLAS implementations (see
  #960728).
  The -rpath,'$ORIGIN' is there to ensure that the OpenBLAS flavour used is
  the one selected in the lib{blas,lapack}.so.3 alternative, and not the one
  selected in the libopenblas.so.0 alternative.
* See also override_dh_shlibdeps in debian/rules
* Also order the files when calling `ar' or $(CC), to make
  the build reproducible (see #824639)
* Also link the shared blas and lapack against gomp (see #945791)
Last-Update: 2020-07-31
Gbp-Pq: Name shared-blas-lapack.patch

5 months agoAdapt build system for the absence of lapack-netlib/ and relapack directories.
Sébastien Villemot [Sun, 14 Sep 2025 09:34:16 +0000 (11:34 +0200)]
Adapt build system for the absence of lapack-netlib/ and relapack directories.

Forwarded: not-needed
Last-Update: 2017-07-27

Instead use the binary provided by package liblapack-pic, stripping from it the
symbols that are overridden by OpenBLAS.
Last-Update: 2017-07-27
Gbp-Pq: Name no-embedded-lapack.patch

5 months agoRemove warning about OpenMP
Sébastien Villemot [Sun, 14 Sep 2025 09:34:16 +0000 (11:34 +0200)]
Remove warning about OpenMP

Forwarded: no
Last-Update: 2014-02-17

This warning is annoying when the library is built with pthreads.
See #684344
Last-Update: 2014-02-17
Gbp-Pq: Name remove-openmp-warning.patch

5 months agoUse flags suitable for armhf port when TARGET=ARMV6
Sébastien Villemot [Sun, 14 Sep 2025 09:34:16 +0000 (11:34 +0200)]
Use flags suitable for armhf port when TARGET=ARMV6

Forwarded: not-needed
Last-Update: 2015-04-29

See debian/rules for an explanation of why we can't use TARGET=ARMV7 on armhf.
Also, if we don't explicitly set the -march and -mfpu flags, the resulting
static libraries crash with SIGILL (reason not yet elucidated).
Last-Update: 2015-04-29
Gbp-Pq: Name arm-gcc-flags.patch

5 months agoopenblas (0.3.30+ds-3) unstable; urgency=medium
Sébastien Villemot [Sun, 14 Sep 2025 09:34:16 +0000 (11:34 +0200)]
openblas (0.3.30+ds-3) unstable; urgency=medium

  * ppc64el-gcc-15.patch: new patch, fixes FTBFS on ppc64el (Closes: #1114016)

[dgit import unpatched openblas 0.3.30+ds-3]

5 months agoImport openblas_0.3.30+ds-3.debian.tar.xz
Sébastien Villemot [Sun, 14 Sep 2025 09:34:16 +0000 (11:34 +0200)]
Import openblas_0.3.30+ds-3.debian.tar.xz

[dgit import tarball openblas 0.3.30+ds-3 openblas_0.3.30+ds-3.debian.tar.xz]

5 months agoImport openblas_0.3.30+ds.orig.tar.xz
Sébastien Villemot [Sun, 31 Aug 2025 19:45:04 +0000 (21:45 +0200)]
Import openblas_0.3.30+ds.orig.tar.xz

[dgit import orig openblas_0.3.30+ds.orig.tar.xz]